toggle menu
Dropdown
common
switch theme
search in API
dropdown
/
[root]
/
MenuItem
Menu
Item
data
class
MenuItem
<
T
:
Any
>
(
val
id
:
T
?
=
null
,
val
title
:
String
=
""
)
Members
Constructors
Menu
Item
Link copied to clipboard
constructor
(
id
:
T
?
=
null
,
title
:
String
=
""
)
Properties
children
Link copied to clipboard
var
children
:
MutableList
<
MenuItem
<
T
>
>
?
icon
Link copied to clipboard
var
icon
:
ImageVector
?
id
Link copied to clipboard
val
id
:
T
?
=
null
parent
Link copied to clipboard
var
parent
:
MenuItem
<
T
>
?
title
Link copied to clipboard
val
title
:
String
Functions
get
Child
Link copied to clipboard
fun
getChild
(
id
:
T
)
:
MenuItem
<
T
>
?
has
Children
Link copied to clipboard
fun
hasChildren
(
)
:
Boolean
has
Parent
Link copied to clipboard
fun
hasParent
(
)
:
Boolean